home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / Deadman / read*me
Encoding:
Text File  |  1994-04-14  |  1000 b   |  28 lines  |  [TEXT/ALFA]

  1. About "Deadman"
  2.  
  3. This is a very simple time manager task to count seconds (under interrupt 
  4. control), while an even simpler faceless mainline job resets the 
  5. counter.  If the counter ever underflows, a reset is performed, resulting 
  6. in a modicum of safety, since in my experience the majority of "crashes" 
  7. only hang the mainline, not the interrupt routines.
  8.  
  9. Source code for all.  I will try to answer questions, but I wrote this 
  10. quite a while ago...
  11.  
  12. Think C6, currently.
  13.  
  14. Free to all.
  15.  
  16. Chuck Pliske
  17. chuckp@u.washington.edu
  18.  
  19. Included are a couple of test applications: a "hanger", and a 
  20. "rebooter".  If you run them, they do what their names suggest.
  21.  
  22. CAUTION:  Many app will sense that they are the foreground app and 
  23. not bother to give up the cpu for perhaps many minutes.  4th Dimension 
  24. and Retrospect come to mind as excellent examples.  I'm not responsible 
  25. for any problems that may result from getting your machine rebooted, 
  26. although in my experience it has never been a problem.
  27.  
  28. Enjoy